using B.S.RbacData.ErrorCode;
using ContentmanagementBase.Domain.Enums;
using ContentmanagementBaseRead.API.Dtos;
using MediatR;

namespace ContentmanagementBaseRead.API.Applications.Commands.Hospitals
{
    /// <summary>
    /// 获取医院列表信息命令
    /// </summary>
    public class GetHospitalListCommand : IRequest<ApiPaging<List<HospitalListDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 医院名称（搜索条件）
        /// </summary>
        public string? HospitalName { get; set; }

        /// <summary>
        /// 医院等级（搜索条件）
        /// </summary>
        public HospitalLevelEnum? HospitalGrade { get; set; }

        /// <summary>
        /// 医院类型（搜索条件）
        /// </summary>
        public HospitalTypeEnum? HospitalType { get; set; }

    
        /// <summary>
        /// 所在区域（搜索条件）
        /// </summary>
        public string? InTheArea { get; set; }

    }
} 